<?xml version="1.0" encoding="UTF-8"?>
<!--
	File: M1ElectricUserDevice-2.0-Template.xml
	Generato il: 2026-04-28 04:38

	Descrizione: questo documento costituisce un XML Campione per l'UrbanDataset M1ElectricUserDevice-2.0
	(sono stati valorizzati solo gli elementi e attributi che hanno valore fisso per questo 
	tipo di UrbanDataset, ad esempio gli elementi 'propertyName'; gli altri elementi e attributi, 
	ad esempio i 'val', devono essere valorizzati).
-->
<UrbanDataset xsi:schemaLocation="smartcityplatform:enea:information:xml:schemas:main:urbandataset http://smartcityplatform.enea.it/specification/information/2.0/xml/schemas/scps-urbandataset-schema-2.0.xsd" xmlns="smartcityplatform:enea:information:xml:schemas:main:urbandataset" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <specification version="2.0">
        <id schemeID="SCPS">M1ElectricUserDevice-2.0</id>
        <name>M1 Electric User Device</name>
        <uri>https://smartcityplatform.enea.it/specification/semantic/2.0/ontology/scps-ontology-2.0.owl#M1ElectricUserDevice</uri>
        <properties>
            <propertyDefinition>
                <propertyName>WithdrawnActiveEnergy</propertyName>
                <propertyDescription>Active energy withdrawn (in the case of three phase user device it is the sum of the phases). It can be calculated as difference between two meter readings. It corresponds to the Chain2 field with OBIS '1-0:99.1.0.255'</propertyDescription>
                <dataType>double</dataType>
                <unitOfMeasure>kilowattHour</unitOfMeasure>
            </propertyDefinition>
            <propertyDefinition>
                <propertyName>WithdrawnActiveEnergyReading</propertyName>
                <propertyDescription>Total active energy withdrawn from the grid (corresponding to the value provided by the meter reading at the end period timestamp). It corresponds to the Chain2 field with OBIS '1-0:1.8.0.255'</propertyDescription>
                <dataType>double</dataType>
                <unitOfMeasure>kilowattHour</unitOfMeasure>
            </propertyDefinition>
            <propertyDefinition>
                <propertyName>period</propertyName>
                <propertyDescription>Measurement period of the data reported in the row</propertyDescription>
                <subProperties>
                    <propertyName>start_ts</propertyName>
                    <propertyName>end_ts</propertyName>
                </subProperties>
            </propertyDefinition>
            <propertyDefinition>
                <propertyName>start_ts</propertyName>
                <propertyDescription>Timestamp indicating the beginning of the period</propertyDescription>
                <dataType>dateTime</dataType>
                <unitOfMeasure>dimensionless</unitOfMeasure>
            </propertyDefinition>
            <propertyDefinition>
                <propertyName>end_ts</propertyName>
                <propertyDescription>Timestamp indicating the end of the period</propertyDescription>
                <dataType>dateTime</dataType>
                <unitOfMeasure>dimensionless</unitOfMeasure>
            </propertyDefinition>
        </properties>
    </specification>
    <context>
        <producer>
            <id schemeID="SCPS">Solution-ID</id>
        </producer>
        <timeZone>UTC+1</timeZone>
        <timestamp>2026-04-28T04:38:55</timestamp>
        <coordinates format="WGS84-DD">
            <latitude>0</latitude>
            <longitude>0</longitude>
            <height>0</height>
        </coordinates>
        <language>IT</language>
        <note></note>
    </context>
    <values>
        <line id="1">
            <period>
                <start_ts>2000-12-31T00:00:00</start_ts>
                <end_ts>2000-12-31T23:59:00</end_ts>
            </period>
            <property name="WithdrawnActiveEnergy">
                <val></val>
            </property>
            <property name="WithdrawnActiveEnergyReading">
                <val></val>
            </property>
        </line>
    </values>
</UrbanDataset>